package com.kunlun.basedata.organize.model.enums;

/**
 * 单位类型枚举
 */
public enum UnitTypeEnum {
    TENANT(0, "租户"),
    GROUP(1, "集团"),
    COMPANY(2, "分公司"),
    OFFICE(3, "办事处"),
    STORE(4, "门店"),
    DEPARTMENT(5, "部门"),
    POST(6, "岗位"),
    ;

    UnitTypeEnum(int key, String name) {
        this.key = key;
        this.name = name;
    }

    private int key;

    private String name;

    public int getKey() {
        return key;
    }

    public String getName() {
        return name;
    }
}
